<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        let set = new Set([1,2,3,3,4,4,5,5]);
        console.log(set)

        let arr = [1,2,2,3,3,3,4,4,4,4,5,5,6]
        console.log(arr)
        let set2 = new Set(arr)
        console.log(set2)
    </script>
</head>
<body>



</body>
</html>